$OpenBSD: patch-storage_mozStorageConnection_cpp,v 1.1.1.1 2016/11/13 21:15:43 landry Exp $

Brought over from www/firefox-esr 45.1.1
--- storage/mozStorageConnection.cpp.orig	Tue May 31 07:26:30 2016
+++ storage/mozStorageConnection.cpp	Wed Jun  1 18:34:14 2016
@@ -743,6 +743,13 @@ Connection::initializeInternal()
     return convertResultCode(srv);
   }
 
+  srv = ::sqlite3_exec(mDBConn, "PRAGMA secure_delete = ON", NULL, NULL, NULL);
+  if (srv != SQLITE_OK) {
+    ::sqlite3_close(mDBConn);
+    mDBConn = nullptr;
+    return convertResultCode(srv);
+  }
+
   // Set the synchronous PRAGMA, according to the preference.
   switch (Service::getSynchronousPref()) {
     case 2:
